package com.zjitc.dao;

import com.zjitc.model.Cart;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/14 16:47
 * @description:
 */
public interface CartDao {

  List<Cart> findCartByUid(@Param("uid") Integer uid);

  Integer deleteCart(String cartid);

  Integer addCart(Cart cart);

  void cleanCart(Integer uid);
}
